package com.xuecheng.manage_cms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description
 * @Author Mokairui
 * @Since 2021/12/5
 */
@SpringBootApplication
@EntityScan("com.xuecheng.framework.domain.cms") // 扫描实体类 common
@ComponentScan(basePackages = {"com.xuecheng.api"}) // 扫描接口 api
@ComponentScan(basePackages = {"com.xuecheng.manage_cms"}) // 扫描本项目下所有类 (可以不写, 写了比较清晰)
public class ManageCmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManageCmsApplication.class, args);
    }
}
